﻿<dd:DXWindow x:Class="DevControlLibrary.UI.SettingWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dd="clr-namespace:DevExpress.Xpf.Core;assembly=DevExpress.Xpf.Core.v12.1"
        Title="系统配置" MinHeight="318" MinWidth="406" 
             MaxHeight="318" MaxWidth="406"
         FontSize="12"
             FontFamily="NSimSun"
             TextOptions.TextFormattingMode="Display"
             TextOptions.TextRenderingMode="ClearType"
             WindowStartupLocation="CenterScreen" 
        xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" 
             xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="25"/>
        </Grid.RowDefinitions>
        <dx:DXTabControl>
            <dx:DXTabItem Header="查询面板">
                <Canvas>
                    <dxe:CheckEdit Name="checkFolding" Content="语法折叠 (目前该功能还不完善，请谨慎)" Canvas.Left="6" Canvas.Top="15" />
                    <dxe:ComboBoxEdit Canvas.Left="36" Canvas.Top="46" Name="comboBoxFont" Width="206" />
                    <Label Canvas.Left="4" Canvas.Top="44" Content="字体" Height="28" />
                    <dxe:ComboBoxEdit Canvas.Left="248" Canvas.Top="46" Name="comboBoxFontSize" Width="70" />
                    <dxe:CheckEdit Name="checkBind" Content="是否分页绑定" Canvas.Left="6" Canvas.Top="84" />
                    <Label Canvas.Left="126" Canvas.Top="79" Content="查询超过多少行提示" Height="28" Name="label2" />
                    <dxe:TextEdit Canvas.Left="243" Canvas.Top="81" Width="77" Name="TbMaxCount" MaskType="Numeric" />
                    <dxe:CheckEdit Canvas.Left="6" Canvas.Top="112" Name="checkVerition" Width="336" Content="精简版本，目前只有基础功能，相对速度快（需重启程序）" />
                    <dxe:CheckEdit Name="checkShowAutoFilterRow" Content="是否显示数据窗口的过滤行" Canvas.Left="6" Canvas.Top="139" />
                </Canvas>
            </dx:DXTabItem>
            <dx:DXTabItem Header="数据面板">
                <Canvas>
                    <Label Canvas.Left="6" Canvas.Top="6" Content="中文对照关系" Height="28" />
                    <dxe:TextEdit Canvas.Left="25" Canvas.Top="32" Name="tbChDescription" Width="324" Height="103" />
                    <TextBlock Canvas.Left="6" Canvas.Top="137" Text="注:以上填写获取中文信息的SQL语句,其中列名必须有TABLENAME,CHINATABLENAME,COLUMNNAME,CHINACOLUMNNAME这4个字段" Height="65" Width="348" TextWrapping="Wrap" />
                </Canvas>
            </dx:DXTabItem>
        </dx:DXTabControl>
        <Canvas Grid.Row="1">
            <dxe:ButtonEdit  ShowText="False" AllowDefaultButton="False" Width="75" Canvas.Left="217" Canvas.Top="2">
                <dxe:ButtonInfo GlyphKind="Custom" Content="确定" ButtonKind="Simple" Click="btnOK_Click"/>
            </dxe:ButtonEdit>
            <dxe:ButtonEdit Grid.Row="1" ShowText="False" AllowDefaultButton="False" Width="75" Canvas.Left="302" Canvas.Top="2">
                <dxe:ButtonInfo GlyphKind="Custom" Content="取消" ButtonKind="Simple" Click="btnCanel_Click"/>
            </dxe:ButtonEdit>
        </Canvas>
       
    </Grid>
</dd:DXWindow>
